package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Classname StorageDeviceVO
 * @Description 入库神返回VO
 * @Date 2020/10/13 9:10
 * @Created by hf
 */
@ApiModel(value = "StorageDeviceVO", description = "已使用设备vo")
@Data
public class StorageDeviceVO implements Serializable {
    private static final long serialVersionUID = -1206960462117924923L;

    @ApiModelProperty(value = "工艺单元id", required = true)
    private Long processunitId;

    @ApiModelProperty(value = "工艺单元名称", required = true)
    private String name;

    @ApiModelProperty(value = "工艺单元值(遵循命名规范YYC1_JBJ1_GZ_Y)", required = true)
    private String value;

    @ApiModelProperty(value = "厂区", required = true)
    private String factoryPeriod;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "设备照片")
    private String attach;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备编号")
    private String deviceNum;

    @ApiModelProperty(value = "设备SN号")
    private String snNum;

    @ApiModelProperty(value = "物料id")
    private Long materielId;

    @ApiModelProperty(value = "品类id")
    private Long categoryId;

    @ApiModelProperty(value = "品类名称")
    private String categoryName;

    @ApiModelProperty(value = "设备规格")
    private String dossierSpec;

    @ApiModelProperty(value = "领用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAt;

    @ApiModelProperty(value = "备件数")
    private Integer attachmentNum;
}
